#ifndef IMAGEINFO_H
#define IMAGEINFO_H
#include <QString>
#include <QXmlStreamReader>
#include <QXmlStreamWriter>
#include <QJsonObject>

class ImageInfo
{
public:
    ImageInfo();

private:
    int         m_nImageHeight;
    int         m_nImageWidth;
    int         m_nImageChannel;

public:
    int         GetImageWidth(){return m_nImageWidth;}
    int         GetImageHeight(){return m_nImageHeight;}
    int         GetImageChannel(){return m_nImageChannel;}

    void        SetImageWidth(int value){m_nImageWidth = value;}
    void        SetImageHeight(int value){m_nImageHeight = value;}
    void        SetImageChannel(int value){m_nImageChannel = value;}

public:
    bool WriteXML(QXmlStreamWriter &writer);
    bool ReadXML(QXmlStreamReader &reader);
};

#endif // IMAGEINFO_H
